package com.blank.service.impl;

import com.blank.dao.ArticleDao;
import com.blank.domain.Article;
import com.blank.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleServiceImpl implements ArticleService {

    @Autowired
    private ArticleDao articleDao;

    public void addArticle(Article article) {
        articleDao.addArticle(article);
        System.out.println("添加文章方法成功...");
    }
}
